aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithInitFuncs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: 1acd85c1149467f18d505546753e901b6c396476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.wasm:	file format wasm 0x1

Section Details:

Type[1]:
 - type[0] () -> nil
Function[3]:
 - func[0] sig=0 <f1>
 - func[1] sig=0 <f2>
 - func[2] sig=0 <f3>
Code[3]:
 - func[0] size=2 <f1>
 - func[1] size=2 <f2>
 - func[2] size=2 <f3>
Custom:
 - name: "linking"
  - symbol table [count=3]
   - 0: F <f1> func=0 [ binding=global vis=default ]
   - 1: F <f2> func=1 [ binding=global vis=default ]
   - 2: F <f3> func=2 [ binding=global vis=default ]
  - init functions [count=2]
   - 2: priority=0 <f3>
   - 0: priority=4 <f1>
Custom:
 - name: "name"
 - func[0] <f1>
 - func[1] <f2>
 - func[2] <f3>

Code Disassembly:

000028 func[0] <f1>:
 000029: 0b                         | end
00002f func[1] <f2>:
 000030: 0b                         | end
000036 func[2] <f3>:
 000037: 0b                         | end